package com.carful.xigua.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carful.xigua.modules.common.entity.BaseEntity;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ad
 * @since 2024-07-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("carful_org")
public class Org extends BaseEntity<Org> {

    @TableField("`type`")
    private String type;
    /**
     * 组织名
     */
    @TableField("`name`")
    private String name;

    @TableField("`left`")
    private Integer left;

    @TableField("`right`")
    private Integer right;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("status")
    private Integer status;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
